package com.chaos.system.dto;

import com.chaos.framework.model.dto.DTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class RbacUserRolesDto extends DTO {

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "手机号")
    private String mobile;


    @ApiModelProperty(value = "账号是否锁定，1：启用，0: 禁用 2: 离职")
    private Integer status;

    private List<Long> roleIds;


    @ApiModelProperty(value = "用户头像")
    private String avatar;


    @ApiModelProperty(value = "邮箱")
    private String email;


    @ApiModelProperty(value = "备注")
    private String remark;


    @ApiModelProperty(value = "姓名")
    private String realName;
    private Long tenantId;
}
